from flask import Blueprint, render_template, request, redirect, url_for
from app.services.cookie_service import CookieServcie

API = Blueprint("cookie", __name__)


@API.route('/create/<login_url>', methods=['POST'])
def create(login):
    data = request.get_json()
    return CookieServcie.create()


@API.route('/delete/<id>', methods=['DELETE'] )
def remote(id):
    return CookieServcie.remote()